package com.dbtimer.dbupdate_spring.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("OriginalData")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OriginalDataEntity {

    @TableId
    private int ID;

    private  int MsgID;

    private String FacNum;

    private String StationID;

    private String DataType;
    @TableField("Data")
    private  float Data;
    @TableField("DataTime")
    private Date DataTime;

    private String Chanal;

}
